package org.grow.erp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "Employee")
public class Employee {
    @TableId(value = "EmployeeId", type = IdType.INPUT)
    private String employeeId;

    @TableField(value = "EmployeeName")
    private String employeeName;

    @TableField(value = "usernameFk")
    private String usernameFk;

    @TableField(value = "`position`")
    private String position;

    @TableField(value = "departmentFk")
    private String departmentFk;

    @TableField(value = "leaderPid")
    private String leaderPid;

    public static final String COL_EMPLOYEEID = "EmployeeId";

    public static final String COL_EMPLOYEENAME = "EmployeeName";

    public static final String COL_USERNAMEFK = "usernameFk";

    public static final String COL_POSITION = "position";

    public static final String COL_DEPARTMENTFK = "departmentFk";

    public static final String COL_LEADERPID = "leaderPid";
}